package com.example.user

import com.example.base.entity.LoginEntity
import com.example.base.mvi.IUiIntent

sealed class UserIntent:IUiIntent {
    data class login(val password:String,val username:String):UserIntent()
    data class updatePwd(val newPwd:String,val userid:Int):UserIntent()
    data object category:UserIntent()
    data class product(val limit:Int,val page:Int):UserIntent()

    data class roomAdd(val loginEntity: LoginEntity):UserIntent()

    data class roomDetail(val uid:Int):UserIntent()

    data class uploadHead(val path:String,val fileName:String):UserIntent()
}